package com.jming.yygh.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jming.yygh.model.user.Patient;

import java.util.List;

/**
 * @author jming
 * @version 0.0.1
 * @date 2021/05/12
 */
public interface PatientService extends IService<Patient> {

    /**
     * 根据id查询就诊人列表
     * @param userId 用户Id
     * @return List<Patient>
     */
    List<Patient> findAllUserId(Long userId);

    Patient getPatientId(Long id);
}
